import Vue from 'vue'
import Vuex from 'vuex'
import tagsView from './modules/tagsView'
import testTags from './modules/testTags'
import user from './modules/user'
import routerData from './modules/routerData'
import permission from './modules/permission'
import getters from './getters'
// import router from '../router/index.js'
Vue.use(Vuex)

const store = new Vuex.Store({
  modules: {
    tagsView,
    testTags,
    user,
    routerData,
    permission,
  },
  getters
})

export default store
